body {
    background-color: #e7e7e7;
    font-family: arial, serif;
    position: relative;
}

#header-wrap {
    background-image: url(../images/bg.png);
}

#header {
    height: 61px;
}

#header > a {
    background-image: url(../images/tab_active.png);
    color: white;
    text-decoration: none;
    float: left;
    font-size: 18px;
}

#homepage {
    background-image: url(../images/ico_header.png);
    background-repeat: no-repeat;
    height: 61px;
    line-height: 61px;
    text-indent: 30px;
    margin: 0 20px;
}

#logo {
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    width: 190px;
    height: 61px;
    text-indent: -5000px;
}

#main-content {
    padding: 20px 20px 60px 20px;
}

#left-menu-bar {
    float: left;
}

#right-menu-bar {
    float: right;
}

#footer {
    background-image: url(../images/bg.png);
    background-repeat: repeat-x;
    color: #000;
    font: bold 16px Arial;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    left: 0;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: #f0f0f0;
}

/*NORMAL PAGINATOR*/
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .previous, .page, .next {
    background-image: url(../images/bg.png);
    border: 1px solid #1C6C7A;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 0 2px;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.pagination .previous:hover, .page:hover, .next:hover {
    background-image: none;
    background-color: white;
    border: 1px solid #1C6C7A;
    border-radius: 1px;
    color: black;
    font-size: 18px;
    padding: 10px 5px;
    margin: 0 2px;
}

.pagination .selected {
    background-image: none;
    background-color: white;
    border: 1px solid #1C6C7A;
    border-radius: 1px;
    color: black;
    font-size: 18px;
    padding: 10px 5px;
    margin: 0 2px;
}

.pagination .disabled {
    background-image: none;
    background-color: white;
    border: 1px solid #1C6C7A;
    border-radius: 1px;
    color: black;
    font-size: 18px;
    padding: 10px 5px;
    margin: 0 2px;
}

/*MESSAGES*/
.system-messages ul li {
    border-top: 3px solid #84A7DB;
    border-bottom: 3px solid #84A7DB;
    background: url(../images/notice-info.png) no-repeat #C3D2E5;
    background-position: 5px;
    color: #0055BB;
    text-indent: 30px;
    padding: 10px;
    margin-bottom: 10px;
}
/*MESSAGES*/

/*SEARCH AND FILTER*/
.admin-search-n-filter {
    overflow: auto;
    margin-bottom: 10px;
}

.admin-search {
    display: inline-block;
    float: left;
}

.admin-search input[type = "text"] {
    border: none;
    padding: 5px;
    float: left;
}

.admin-search input[type = "button"] {
    background-image: url(../images/search-icon.png);
    border: none;
    width: 38px;
    height: 24px;
    padding: 0;
    float: left;
    margin: 1px 0 0 4px;
}

.admin-hyperlink-btn {
    margin: 1px 0 0 4px;
    float: left;
}

.admin-hyperlink-btn a {
    background-color: #FFFFFF;
    color: #000000;
    display: block;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
    text-decoration: none;
    padding: 0 5px;
}

.admin-filter {
    display: inline-block;
    float: right;
}

.admin-filter select {
    border: none;
    padding: 3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.admin-filter select:focus {
    outline: none;
}

.admin-filter select option {
    border: 5px black solid;
}
/*SEARCH AND FILTER*/

/*DATA GRID*/
.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.datagrid {
    background: #fff;
    overflow: hidden;
    border: 1px solid #006699;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.datagrid table td, .datagrid table th {
    padding: 10px;
}

.datagrid table td a {
    color: #00496B;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
}

.datagrid table td a:hover {
    text-decoration: underline;
}

.datagrid table .center {
    text-align: center;
}

.datagrid table .center .tool-icon {
    margin: 0 auto;
}

.datagrid table th {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F));
    background: -moz-linear-gradient(center top, #006699 5%, #00557F 100%);
    background-color: #006699;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    border-left: 1px solid #0070A8;
}

.datagrid table thead th:first-child {
    border: none;
}

.datagrid table td {
    color: #00496B;
    border-left: 1px solid #E1EEF4;
    font-size: 12px;
    font-weight: normal;
}

.datagrid table .alt td {
    background: #E1EEF4;
    color: #00496B;
}

.datagrid table td:first-child {
    border-left: none;
}

.datagrid table tbody tr:last-child td {
    border-bottom: none;
}
/*DATAGRID*/

/*BUTTON*/
.tool-icon {
    cursor: hand;
    width: 32px;
    height: 32px;
}

/*MANAGE TOOLBAR*/
.enabled-add-icon {
    background-image: url(../images/icon-32-add.png);
}

.disabled-add-icon {
    background-image: url(../images/icon-32-add.png);
    background-position: 0 32px;
}

.enabled-delete-icon {
    background-image: url(../images/icon-32-delete.png);
}

.disabled-delete-icon {
    background-image: url(../images/icon-32-delete.png);
    background-position: 0 32px;
}

.enabled-update-icon {
    background-image: url(../images/icon-32-update.png);
}

.disabled-update-icon {
    background-image: url(../images/icon-32-update.png);
    background-position: 0 32px;
}

.enabled-confirm-icon {
    background-image: url(../images/icon-32-confirm.png);
}

.disabled-confirm-icon {
    background-image: url(../images/icon-32-confirm.png);
    background-position: 0 32px;
}

.enabled-unblock-icon {
    background-image: url(../images/icon-32-unblock.png);
}

.disabled-unblock-icon {
    background-image: url(../images/icon-32-unblock.png);
    background-position: 0 32px;
}

.enabled-block-icon {
    background-image: url(../images/icon-32-block.png);
}

.disabled-block-icon {
    background-image: url(../images/icon-32-block.png);
    background-position: 0 32px;
}
/*MANAGE TOOLBAR*/

/*ADD TOOLBAR*/
.enabled-apply-icon {
    background-image: url(../images/icon-32-apply.png);
}

.disabled-apply-icon {
    background-image: url(../images/icon-32-apply.png);
    background-position: 0 32px;
}

.enabled-applynclose-icon {
    background-image: url(../images/icon-32-applynclose.png);
}

.disabled-applynclose-icon {
    background-image: url(../images/icon-32-applynclose.png);
    background-position: 0 32px;
}

.enabled-applynnew-icon {
    background-image: url(../images/icon-32-applynnnew.png);
}

.disabled-applynnew-icon {
    background-image: url(../images/icon-32-applynnnew.png);
    background-position: 0 32px;
}

.enabled-cancel-icon {
    background-image: url(../images/icon-32-cancel.png);
}

.disabled-cancel-icon {
    background-image: url(../images/icon-32-cancel.png);
    background-position: 0 32px;
}
/*ADD TOOLBAR*/

/*INPUT FORM*/
.admin-input-form-wrap {
    margin-bottom: 30px;
}

.admin-input-form {
    background-color: white;
    border-radius: 0 0 3px 3px;
    text-align: center;
}

.admin-input-form table tr td {
    padding: 5px;
}

textarea:focus, input:focus{
    outline: none;
}
/*INPUT FORM*/